home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / ARGONET / PD / PROGRAMMING / DESKLIBC / SOURCES.ZIP / DeskLib / !DLSources / Libraries / Dialog2 / c / Delete < prev    next >
Text File  |  1995-05-19  |  939b  |  36 lines

  1. /*
  2.     ####             #    #     # #
  3.     #   #            #    #       #          The FreeWare C library for
  4.     #   #  ##   ###  #  # #     # ###             RISC OS machines
  5.     #   # #  # #     # #  #     # #  #   ___________________________________
  6.     #   # ####  ###  ##   #     # #  #
  7.     #   # #        # # #  #     # #  #    Please refer to the accompanying
  8.     ####   ### ####  #  # ##### # ###    documentation for conditions of use
  9.     ________________________________________________________________________
  10.  
  11.     File:    Dialog2.Delete.c
  12.     Author:  Copyright © 1994 Julian Smith
  13.     Version: 1.03 (13 Mar 1995)
  14.     Purpose: Dialogue box handling
  15. */
  16.  
  17.  
  18. #include <stdlib.h>
  19.  
  20. #include "DeskLib:Error.h"
  21. #include "DeskLib:Dialog2.h"
  22.  
  23.  
  24. BOOL    Dialog2_DeleteDialog( dialog2_block *dialog2)
  25. {
  26. if ( !dialog2)    return ERROR;
  27.  
  28. dialog2->flags.data.keepwindow = FALSE;
  29. Dialog2_CloseDialog( dialog2);
  30. free( dialog2);
  31. return NOERROR;
  32. }
  33.  
  34.  
  35.  
  36.